/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package OLD;

import com.sun.lwuit.List;
import com.sun.lwuit.events.ActionListener;

/**
 *
 * @author nialldeasy
 */
public class Translator extends Menu{


    public Translator(ActionListener a){
        super("Translator","paper.jpg",a);
        String[] items = {"Car", "Car", "Car"};
        String[] english = {"Hello", "Goodbye", "welcome"};
        String[] french = {"salut", "Au revoir", "bienvenue"};
        String[] spanish = {"hola", "adios", "bienvenido"};
        String[] langs = {"French", "Spanish"};

        List langMenu = new List(langs);
        langMenu.setFocusPainted(false);
        this.addList(langMenu);

        List engList = new List(english);
        engList.setFocusPainted(false);
        engList.setUIID("£English");
        this.addList(engList);

        List spanList = new List(spanish);
        spanList.setUIID("£Spanish");
        this.addList(spanList);

        List frenchList = new List(french);
        frenchList.setUIID("£French");
        this.addList(frenchList);

        //langMenu.setUIID("langMenu");
//        setBackCommand(0,"MainMenu");
//        this.addCommand("Map");

    }


}